<template>
  <div class="evaluation">
    <el-tabs v-model="activeName">
      <el-tab-pane label="课程评价" name="1">
        <subject v-if="activeName === '1'"/>
      </el-tab-pane>
      <el-tab-pane label="班级评价" name="2">
        <classreview v-if="activeName === '2'"/>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
  import Classreview from "./components/evaluation/class";
  import Subject from "./components/evaluation/subject";

  export default {
    components: {
      Subject,
      Classreview
    },
    data() {
      return {
        activeName: "1"
      };
    },
    methods: {}
  };
</script>

<style lang="scss" scoped>
  .evaluation {
    padding: 0px 20px;
  }
</style>

